/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package utils.manga;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author killan
 */
public class Chapter {

    private List<Page> pag;
    private String index;

    public Chapter() {
        pag = new ArrayList<Page>();
    }
    public void  setPage(String path){
        pag.add(new Page(path));
    }
    public int getMaxPages(){
        return pag.size();
    }
    public String getNumber(){
        return index;
    }
}
